from django.conf import settings
if settings.DEBUG:
    DINGTALK_CORP_ID = 'ding3932ec528b2d22c735c2f4657eb6378f'  # 钉钉企业CorpId
    DINGTALK_APP_KEY = 'ding4g8f1reeqwxodecj'  # 钉钉企业内部应用的AppKey
    DINGTALK_APP_SECRET = '7P4Um2f3GolmmFZu5Mr0EIrqs_ANZ6hMUxt56lr32lDyswnyR51EqmfgYvJ2CI4g'  # 钉钉企业内部应用的AppSecret
    DINGTALK_BASE_URL = "http://howflow.vaiwan.com/"
    AgentId = 290317870

    DING_LOGIN_APP_ID = 'dingoarole4el0jgvq9ago'  # 扫码登录APP_ID  注册流程 钉钉开发者平台>移动接入应用>登录>创建扫码登录授权
    DING_LOGIN_APP_SECRET = 'VgKHPlSo5gYOADvV3sQy_193qYFr3w7aifOokpCURWG-fCyKVPTZo5EL3c--6uUU'  # 扫码登录APP_SECRET
    STATE_VAL = "app_howflow@1qaz@WSX"  # 扫码登录时需要传递一个随机数

    encodingAesKey = "COIsbNgSvafbKUnN2iVRBFHZ2HcAJJ3Zz4mlNL7iVVp"  # 长度固定为43个字符，从a-z, A-Z, 0-9共62个字符中选取
    token = "JNQl0kJ_3ctFX3AuAyv1i1KXFRsd"  # token推荐使用注册套件时填写的token，普通企业可以随机填写
    callback_bpm_url = "http://cwsp.qiguanchu.com/api/call_back/"
else:
    DINGTALK_CORP_ID = 'ding3932ec528b2d22c735c2f4657eb6378f'  # 钉钉企业CorpId
    DINGTALK_APP_KEY = 'dinghlt6etxq4q46lwa7'  # 钉钉企业内部应用的AppKey
    DINGTALK_APP_SECRET = 'qRXohcS_-Vdk15IzjKdfaCzkUIo7eV5b-NqCKS8DZ0HkuQsNtmcIqn2zqWWWoLo0'  # 钉钉企业内部应用的AppSecret
    DINGTALK_BASE_URL = "http://howflow.leadot.com.cn/"
    AgentId = 712295325

    DING_LOGIN_APP_ID = 'dingoarole4el0jgvq9ago'  # 扫码登录APP_ID  注册流程 钉钉开发者平台>移动接入应用>登录>创建扫码登录授权
    DING_LOGIN_APP_SECRET = 'VgKHPlSo5gYOADvV3sQy_193qYFr3w7aifOokpCURWG-fCyKVPTZo5EL3c--6uUU'  # 扫码登录APP_SECRET
    STATE_VAL = "app_howflow@1qaz@WSX"  # 扫码登录时需要传递一个随机数

    encodingAesKey = "COIsbNgSvafbKUnN2iVRBFHZ2HcAJJ3Zz4mlNL7iVVp"  # 长度固定为43个字符，从a-z, A-Z, 0-9共62个字符中选取
    token = "JNQl0kJ_3ctFX3AuAyv1i1KXFRsd"  # token推荐使用注册套件时填写的token，普通企业可以随机填写
    callback_bpm_url = "http://cwsp.qiguanchu.com/api/call_back/"
